<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition>

        <p:dialog widgetVar="dialogSenha" 
                  draggable="false"
                  closable="false"
                  dynamic="true" 
                  width="200"
                  height="100"
                  header="Senha de Acesso"
                  >
            <p:panel id="pnlConfirmacaoLogin" style="width: 150px; height: 80px">
                <h:panelGroup>
                    <h:outputText value="#{eventoBean.anjo.nome}"/> <h:outputText value=", Sua senha é:"/> <h:outputText value="#{eventoBean.anjoEvento.senha}"/>
                </h:panelGroup>

                <br/>
                <p:commandButton value="Ok"
                                 icon="iconOk"
                                 action="#{eventoBean}"
                                 oncomplete="dialogSenha.hide();"/>

            </p:panel>

        </p:dialog>

    </ui:composition>
</html>

